﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EntitiesContext.MyEntities;

namespace EntitiesContext
{
    public partial class Group
    {
        public static implicit operator MyGroup(Group g)
        {
            MyGroup newGroup = new MyGroup();
            newGroup.GroupId = g.GroupId;
            newGroup.GroupPrefearedLan = g.GroupPrefearedLan;
            newGroup.Name = g.Name;

            return newGroup;
        }
    }
}
